package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.LikeMessage;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface LikeMessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LikeMessage record);

    LikeMessage selectByPrimaryKey(Long id);

    List<LikeMessage> selectForList(QueryObject qo);

    int updateByPrimaryKey(LikeMessage record);

    void updateState(LikeMessage likeMessage);

    Integer selectTotalUnReadNum(Long authorId);
}